package net.yambal.air.LeafletMap
{

    public class LatLngBounds implements ILeafletObject{
        
        private var _SouthWest:LatLng;
        private var _NorthEast:LatLng;
        
        private var _LatLngBounds:Object;
        
        public function LatLngBounds(SouthWest:LatLng, NorthEast:LatLng){
            this._SouthWest = SouthWest;
            this._NorthEast = NorthEast;
            
            this._LatLngBounds = LeafletCoreSinglton.instance.latLngBounds(SouthWest.LeafObject, NorthEast.LeafObject);
        }
        
		/*
        public function get LeafLatLngBounds():Object{
            return this._LatLngBounds;
        }
		*/
		
		public function get LeafObject():Object{
			return this._LatLngBounds;
		}
    }
}